<html><head><title>GetCurrentDirectory</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">GetCurrentDirectory()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result$ = <font color="#006666"><b>GetCurrentDirectory</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the current directory for the program. 

</blockquote><p><b>Parameters</b></p><blockquote>
None.


</blockquote><p><b>Return value</b></p><blockquote>

Returns the full path of the current directory. It will end with a directory separator ('\' on Windows and '/' otherwise). 
<br>
<br>
It's very unlikely, but if this function fails, it will return an empty string. 

</blockquote><p><b>Remarks</b></p><blockquote>

All files accesses are relative to this directory, when 
no absolute path is specified. To change the current directory, use <a href="setcurrentdirectory.html">SetCurrentDirectory()</a>. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="setcurrentdirectory.html">SetCurrentDirectory()</a>, 
<a href="gethomedirectory.html">GetHomeDirectory()</a>, 
<a href="gettemporarydirectory.html">GetTemporaryDirectory()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=finishdirectory.html>FinishDirectory()</a> - <a href=index.html>FileSystem Index</a> - <a href=getextensionpart.html>GetExtensionPart()</a> ->

</body></html>